package com.boot.app.common.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class Base{

    @TableField(value = "creator", fill = FieldFill.INSERT)
    private String creator;

    @TableField(value = "gmt_create", fill = FieldFill.INSERT)
    private LocalDateTime gmtCreate;

    @TableField(value = "modifier", fill = FieldFill.UPDATE)
    private String modifier;

    @TableField(value = "gmt_modified", fill = FieldFill.UPDATE)
    private LocalDateTime gmtModified;

}
